]> dgit.raspbian.org Git - gnome-shell.git/commit
ci: Make sure to always clear meson-install checkout dir
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 21 Mar 2023 00:00:07 +0000 (01:00 +0100)
committerMarge Bot <marge-bot@gnome.org>
Thu, 20 Apr 2023 15:59:56 +0000 (15:59 +0000)
commitfac05b182cd3e19199014e35fd5387a32d98d11e
tree812cc451b8af6eb8bf0d97de8f87946201423978
parent919812a851857ec66ec02d29bb25025f9c2f8205
ci: Make sure to always clear meson-install checkout dir

We currently remove the directory at the end of the script, but
that code is only reached when all previous operations were
successful.

Address this by first using an absolute directory path in /tmp
instead of a "random" location based on the CWD, then set a trap
to remove it on exit.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2712>
.gitlab-ci/install-meson-project.sh